body {
    color: black;
    font-size: small;
    font-family: verdana, arial, helvetica;
    margin: 0;
}

fieldset {
    margin-bottom: 1em;
}

th {
    text-align: left;
    border-bottom: 2px solid gray;
    margin: 1em 0 .5em 0;
    padding: 1.2em 0 0.2em 0.2em;
    color: gray;
}

textarea:hover {
    border: 1px solid black;
}

textarea:focus {
    border: 1px solid black;
}

input,button,textarea {
    border: 1px solid gray;
    padding: 0.2em;
    margin-right: 0.2em;
}

input[type=text], input[type=password], textarea{
    width: 95%;
}

input:hover {
    border: 1px solid black;
}

label {
    color: #394b6b;
    display: block;
}

legend {
    font-weight: bold;
}

#container {
    margin: 0 auto 0 auto;
    width: 100%;
    padding: 0;
    background: url("../img/logo_bg.gif") repeat-x;
}

a img {
    border: 0;
}

a {
    color: #394b6b;
    text-decoration: underline;
}

a:hover {
    text-decoration: none;
}

h1 {
    font-size: inherit;
}

#header {
    height: 100px;
    color: white;
}

#menu {
    background: url("../img/menu_bg.gif") repeat-x;
    height: 35px;
}

#menu ul {
    list-style-type: none;
    width: auto;
    padding: 0;
    margin: 0;
}

#menu ul li {
    float: left;
    margin: 0;
    padding: 0;
    border-right: 1px solid #6b6b6b;
}

#menu ul li a {
    color: #6b6b6b;
    text-decoration: none;
    padding: .7em;
    display: block;
}

#menu ul li a:hover {
    color: white;
    background-color: #2d3c55;
    background: url("../img/logo_bg.gif") repeat-x;
}

#menu ul li a.fantom-logo {
    background: url("../img/logo_bg.gif") repeat-x;
    color: white;
    width: 8em;
}

/* small menu */
#small_menu {
    width: 100%;
    margin: -0.3em 0 2em 7em;
}

#small_menu a {
    color: white;
    text-decoration: underline;
}

#small_menu a:hover {
    text-decoration: none;
}

#small_menu a:active,#small_menu a:visited {

}  /* small menu */
#content {
    width: 95%;
    margin: 1em auto 1em auto;
}

#footer {
    clear: both;
    margin: 2em;
    border-top: 1px solid gray;
    text-align: center;
    border-top: 1px solid gray;
}

hr.cleaner {
    clear: both;
    height: 0;
    margin: -1px 0 0 0;
    padding: 0;
    visibility: hidden;
}

/* input fields */
.input_line {
    padding: 0.3em;
    width: 100%;
}

.input_text {
    width: 14em;
    float: left;
    font-weight: bold;
    color: #3f3d3d;
    background-color: inherit;
}

.error-message {
    color: red;
    font-size: large;
    background-color: inherit;
}

/* pagination */
.pagination {
    margin: 1em 1em 1em 0;
}

/* pagination */ /* news */
.news {
    float: left;
    margin: 1em;
    width: 20em;
}

/* news */
#flashMessage {
    margin: 0;
    text-align: center;
    padding: .5em;
    background: url("../img/menu_bg.gif") repeat-x #cbd3da;
    color: #394b6b;
    border-bottom: 1px solid #394b6b;
}

.altrow {
    background-color: #F0F0F0;
}

.table_head {
    background-color: #cbd3da;
    font-weight: bold;
}

#advanced_setting {
    display: none;
}

.advanced_settings {
    background-color: #e1f2bf;
    width: 95%;
}

.form-error {
    border: 1px solid red;
}

#preview {
    width: 100%;
    margin-bottom: 1em;
}

.tabContent {
    clear: both;
    border: 2px solid #42577B;
    padding-top: 2px;
    background-color: #FFF;
}

#content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

#content ul li {
    margin-bottom: 1em;
}

#pictures {
    margin: 0 0 1em 0;
    padding: 0;
}

ul#pictures li {
    margin: 0;
    padding: .2em 0 .2em 0;
}

#tabs {
    padding: 0;
    background: transparent;
    voice-family: "\"}\"";
    voice-family: inherit;
    width: 95%;
}

#tabs ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

#tabs li {
    display: inline;
    margin: 0 2px 0 0;
    padding: 0;
}

#tabs a {
    float: left;
    background: #A3BBE6 url(images/tabs_left.gif) no-repeat left top;
    margin: 0 2px 0 0;
    padding: 0 0 1px 3px;
    text-decoration: none;
}

#tabs a span {
    float: left;
    display: block;
    background: transparent url(images/tabs_right.gif) no-repeat right top;
    padding: 4px 9px 2px 6px;
}

#tabs a span {
    float: none;
}

#tabs a:hover {
    background-color: #7E94B9;
    color: white;
}

#tabs a:hover span {
    background-color: #7E94B9;
}

#tabHeaderActive span,#tabHeaderActive a {
    background-color: #42577B;
    color: #fff;
}

.tabContent {
    clear: both;
    border: 2px solid #42577B;
    padding-top: 2px;
    background-color: #FFF;
}

#tabscontent label {
    display: block;
    float: left;
    width: 11em;
    margin-left: .1em;
}

#tabscontent li {
    display: block;
}

.first-top {
    background: url("../img/ul.gif") left top no-repeat;
}

.last-top {
    background: url("../img/ur.gif") right top no-repeat;
}

.first-bottom {
    background: url("../img/ll.gif") left bottom no-repeat;
}

.last-bottom {
    background: url("../img/lr.gif") right bottom no-repeat;
}

#statistics {
    margin:3em auto auto auto;
    border: 1px solid white;
}

.dashboard {
    margin: 1em 1em 1em 0;
    float: left;
    width: 45%;
    padding: 0;
    background: url("../img/dashboard_header_bg.gif") top repeat-x;
}

.dashboard h3 {
    margin: 0;
    padding: 0.1em .5em .1em 0.5em;
    color: white;
    font-weight: normal;
    font-size: inherit;
}

#statistics ul {
    margin: 0;
    padding: 0.5em .5em .5em 1em;
    list-style: square;
    color: #374f61;
    border: 1px solid gray;
}

#statistics ul li {
    padding: 0.2em;
    margin: 0 .5em 0 .5em;
}

.rounded_ul {
    background: url(../img/ul.gif) no-repeat top left;
}

.rounded_ur {
    background: url(../img/ur.gif) no-repeat top right;
}

.rounded_ll {
    background: url(../img/ll.gif) no-repeat bottom left;
}

.rounded_lr {
    background: url(../img/lr.gif) no-repeat bottom right;
}

.theme_preview {
    float: right;
    border: 2px solid gray;
}

.theme_detail {
    width: 50%;
    float: left;
}

#layout_textarea {
    float: left;
    width: 70%;
}

#layout_box {
    background-color: #cbd3da;
    width: 15em;
    float: right;
    margin: 3em 1em 1em 1em;
}

#login_form {
    width: 40%;
    margin: auto;
}

#login_form h1 {
    background: url("../img/logo_bg.gif") repeat-x left;
    margin:0;
    padding: .5em;
    color: white;
}

#login_form ul {
    border: 1px solid gray;
    padding: 0.5em;
    margin:0;
}